<table class="table table-bordered  table-hover ">
<thead >
 <thead>
        <tr>
           <th width="80"  class="th-sortable"  data-sort-name="id">ID</th>
            <th>订单号</th>
            <th>菜系名称</th>
            <th>用餐费用/人</th>
            <th>支付金额</th>
            <th>支付方式</th>
            <th>联系信息</th>
            <th>预约人数</th>
            <th>预约时间</th>
            <th>支付状态</th>
            <th>预约状态</th>
            <th>下单时间</th>
            <th width="100">操作</th>
        </tr>
    </thead>
<tbody>

{volist name="data.list" id="vo" }
 <tr>
       <td>{$vo.id}</td>
       <td>{$vo.order_sn}</td>
       <td>{$vo.cuisine_name}</td>
       <td>{$vo.price}</td>
       <td>{$vo.order_amount}元</td>
       <td>{$vo.pay_name}</td>
       <td><div>{$vo.consignee}</div><div>{$vo.mobile}</div></td>
       <td>{$vo.number}人</td>
       <td>{$vo.reservation_time}</td>
       <td>{if condition="$vo.paid == 1"}已支付{else}未支付{/if}</td>
       <td>{if condition="$vo.paid == 1"}{if condition="$vo.status == 1"}已完成{else}未就餐{/if}{/if}</td>
       <td>{$vo.add_time}</td>
       <td>
           {if condition="$vo.paid == 1 && $vo.status == 0"}
           <a href="{:url('complete',array('id'=>$vo['id']))}" data-toggle="ajaxRemove" data-msg="确定完成此预约？" class="m-xs" title="完成预约">
               完成预约
           </a>
           {/if}
       </td>
</tr>
{/volist}
</tbody>
</table>
{empty name="data.list"}
<table width="100%" >
 	<tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}
